package com.zmj.mobile.mapstruct;

import com.zmj.mobile.dto.UserVO;
import com.zmj.mobile.entity.UserEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface UserMapStruct {

    UserMapStruct INSTANCE = Mappers.getMapper(UserMapStruct.class);

    UserVO toDTO(UserEntity userEntity);

    List<UserVO> toDTOList(List<UserEntity> userEntityList);

}